package com.gopay.common.cps.dao.aggregatepayment;

import com.gopay.common.base.dao.BaseReadDAO;
import com.gopay.common.domain.aggregatepayment.ApCustInfo;

import java.util.List;

public interface ApCustInfoQueryDAO extends BaseReadDAO<ApCustInfo,String> {

    List<ApCustInfo> getInfoByCustId(String custId);

    /**
     * 根据status查询商户
     * @param channel 入驻渠道
     * @param status 审核状态
     * @return
     */
    List<ApCustInfo> getInfoByAccessChannelAndStatus(String channel, String status);

    public ApCustInfo getApCustInfoByTraId(String traId);
}
